import api from './apis';
import { post, get, postFile, postJson } from '../request';


export function getSaleLedgerList (params) {
  return postJson(api.getSaleLedgerList, params, true);
}

export function saveSalesRegister (params) {
  return postJson(api.saveSalesRegister, params, true);
}

export function getOverview (params) {
  return postJson(api.getOverview, params, true);
}

export function getSaleLedger (params) {
  return postJson(api.getSaleLedger, params, true);
}

export function query_user_info (params) {
  return postJson(api.query_user_info, params, true);
}

export function queryBankList (params) {
  return postJson(api.queryBankList, params, true);
}

export default {
  getSaleLedgerList,
  saveSalesRegister,
  getOverview,
  getSaleLedger,
  query_user_info,
  queryBankList
};
